import {createApp} from 'vue'
import './style.css'
import App from './App.vue'
//vue3状态管理
import {createPinia} from 'pinia'
//路由
import router from "./router/index.js";
//ElementUi
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
//Icon图标
// import * as ElementPlusIconsVue from '@element-plus/icons-vue'


let app = createApp(App);
// for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
//     app.component(key, component)
// }

app.use(ElementPlus)
app.use(router)
app.use(createPinia())
app.mount('#app')
